<template>
    <div class="fastforward_progress"
 
    >
           <div class="fastforward_progress_line" ref="clineRefs"
           
           >
             <div
             :class="iskey==item?'active':''"
             v-for="item in arrs" :key="item"
             @click="updataStyles(item)"
             >{{item}}</div> 
           </div>
          
   </div>
</template> 
<script lang="ts" setup>
import {ref,defineEmits} from 'vue';
const clineRefs = ref(); 
const cbarRefs = ref();
const iskey = ref(1);
const emits = defineEmits(['valueNums'])
let arrs = [2,1.5,1,0.5,0.1]

const updataStyles = (e)=>{
    iskey.value=e;
    emits('valueNums',e);
}







</script>